<template>
  <FullLoading :full-loading="!isOnLoad" />
  <SupplyDemandSquareMain v-if="isOnLoad" />
</template>

<script lang="ts" setup>
  import SupplyDemandSquareMain from '@/components/SupplyDemandSquareMain/main.vue';
  import { onPageScroll, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app';
  import { onLoad } from '@/router';
  import { ref } from 'vue';
  import FullLoading from '@/components/FullLoading/index.vue';

  const isOnLoad = ref(false);
  onLoad(() => {
    isOnLoad.value = true;
  });

  onPageScroll(() => {});
  onShareAppMessage(() => ({}));
  onShareTimeline(() => ({}));
</script>
